#!/bin/bash
# -----------------------------------------------------------------
# FileName: 4-start-web.sh
# Date: 2020-08-26
# Author: jiftle
# Description: 
# -----------------------------------------------------------------
# MICRO_REGISTRY=etcd \
# MICRO_REGISTRY_ADDRESS=127.0.0.1:2379 \
# # micro api
# micro api \
# --address 0.0.0.0:9011 \
# --registry=etcd \
# --registry_address=192.168.60.26:2379 \
# --api_handler=http api \


micro \
--registry=etcd \
--registry_address=127.0.0.1:2379 \
--namespace=go.micro.api \
api \
--address 0.0.0.0:9011 \
--handler=rpc
